#!/bin/bash
for i in $(cat a.txt); do
  ping -c 2 $i
  echo -e "\n"
done
